import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
// import http from "@/utils/http.js"

import cinemaModule from "./modules/cinemaModule"
import cityModule from "./modules/cityModule"
import tabBarModule from "./modules/tabBarModule"
import filmModule from "./modules/filmModule"

import createPersistedState from "vuex-persistedstate"

export default new Vuex.Store({
  plugins: [createPersistedState()],
  state: {

  },
  mutations: {

  },
  actions: {

  },
  modules: {
    cinemaModule,
    cityModule,
    tabBarModule,
    filmModule
  }
})
